package org.javason.jsonrpc;

import org.javason.json.BeanToJsonSerializer;

public class JsonReturningJsonBean {

	public Object someTestMethod(Boolean someBool) {
		JsonBean2 result = new JsonBean2();
		System.out.println("someBool = " + someBool);
		result.setTestBoolean(someBool);
		Object jsonResult = BeanToJsonSerializer.serialize(result);
		System.out.println("jsonResult = " + jsonResult);
		return jsonResult;
	}
}
